package com.jlkf.controller;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.jlkf.service.ImageService;

@Controller
@RequestMapping("/index")
public class ImageController {

	@Autowired
	private ImageService imageService;
	
	/**
	 * 首页轮播图
	 */
	@ResponseBody
	@RequestMapping(value = "/selectIndexImage",method = RequestMethod.POST)
	public Object selectIndexImage(Integer type,Integer version){
		return this.imageService.selectIndexImage(type,version);
	}
	
}
